package request1_p2p;

/**
 * @ClassName Product
 * @Description TODO
 * @Author MaQingpin
 * @Date 2020/11/6 16:34
 * @Version 1.0
 */
public class Product {
    private int id;
    private String name;
    private Merchant merchant;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Merchant getMerchant() {
        return merchant;
    }

    public void setMerchant(Merchant merchant) {
        this.merchant = merchant;
    }

    public Product(int id, String name, Merchant merchant) {
        this.id = id;
        this.name = name;
        this.merchant = merchant;
    }
}
